<?php
/*
 * 进云智能生成平台
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
 */
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
if($_RQ['op']=='main'){
    $_SESSION['forward_url']='jy_formget/index/';
    model('core/core')->checklogin();
    $daytime = mktime(0,0,0,date('m'),date('d'),date('Y'));
	$return['post'] = pdo_get('jy_formget_message',array('uniacid'=>$_SESSION['uniacid'],'mid'=>$_SESSION['uid']),'','createtime desc');
	if($return['post']['createtime']>$daytime){
        $return['post']['isadd'] =1;
    }else{
        $return['post']['shenfen']='';
        $return['post']['peiname']='';
        $return['post']['chuangnum']='';
    }
	$return['minz']=$this->model('model')->minzus();
	$return['yibao']=$this->model('model')->yibaotype();
	$return['shenfen']=$this->model('model')->shenfentype();
    $return['sex']=array(1=>'男',2=>'女');
	set_html('title',$this->setting['title']?:'提交表单');
	exi($return);
}